-
Notifications
You must be signed in to change notification settings - Fork 50
[EXTERNAL][SROA] Add Stored Value Size Check for Tree-Structured Merge #2041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dhernandez0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, can you add the migraphx failure as a test on our CI as well?
|
Note for reviewers: once this gets all reviews and passes the CIs I will separate this into two separate commits (one internal, one external) and then merge without squashing |
| if not config.arch.startswith("gfx12"): | ||
| config.excludes = ['mixr-tadd-tadd-quant-dot.mlir'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, i've seen this failing on gfx950 as well. Can you try perhaps enabling this test in all the arches ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried that already. The perfConfig that this test requires to hit the failing case doesn't seem to be valid on all architectures (e.g., gfx942) and won't compile
bff6dbd to
9331a57
Compare
9331a57 to
ac6872b
Compare
Motivation
This PR pulls down a change from upstream LLVM that fixes a crash in SROA that was seen when running the MIGraphX CI: https://github.com/ROCm/rocMLIR-internal/issues/2064
Upstream PR: llvm/llvm-project#162921
Technical Details
The change fixes a bug in the SROA where tree-structured merge optimization was incorrectly applied when the size of the stored value was not a multiple of the new allocated element type size
Test Plan
Test Result
Submission Checklist